package com.vichat.task.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2017-01-24 13:37:14.339
 */
@Entity
@Table(name = "cfg_task_param",catalog = "cfgdb")
public class CfgTaskParam implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "cfg_task_param";

    /** */
	public static final String ALIAS_ID = "id";
    /** */
	public static final String ALIAS_CFG_TASK_ID = "cfg_task_id";
    /** */
	public static final String ALIAS_PARAM_NAME = "param_name";
    /** */
	public static final String ALIAS_PARAM_VALUE = "param_value";
    /** */
	public static final String ALIAS_REMARK = "remark";
    /** */
	public static final String ALIAS_CREATE_TIME = "create_time";
    /** */
	public static final String ALIAS_UPDATE_TIME = "update_time";
	
	

 	@Id
@   GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
    public Long id;

 	@Column(name = "cfg_task_id")
    public Long cfgTaskId;

 	@Column(name = "param_name")
    public String paramName;

 	@Column(name = "param_value")
    public String paramValue;

 	@Column(name = "remark")
    public String remark;

 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
    public java.util.Date createTime;

 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_time")
    public java.util.Date updateTime;






	public Long getId() {
		return this.id;
	}

	public void setId(Long value) {
		this.id = value;
	}

	public Long getCfgTaskId() {
		return this.cfgTaskId;
	}

	public void setCfgTaskId(Long value) {
		this.cfgTaskId = value;
	}

	public String getParamName() {
		return this.paramName;
	}

	public void setParamName(String value) {
		this.paramName = value;
	}

	public String getParamValue() {
		return this.paramValue;
	}

	public void setParamValue(String value) {
		this.paramValue = value;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String value) {
		this.remark = value;
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(java.util.Date value) {
		this.createTime = value;
	}

	public java.util.Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(java.util.Date value) {
		this.updateTime = value;
	}



	public CfgTaskParam() {
	}

	public CfgTaskParam(boolean qryflag) {
	    if(qryflag){
	    		this.id = null;
				this.cfgTaskId = null;
				this.paramName = null;
				this.paramValue = null;
				this.remark = null;
				this.createTime = null;
				this.updateTime = null;
			    }
	}


	public CfgTaskParam(
	    Long inId,
	    Long inCfgTaskId,
	    String inParamName,
	    String inParamValue,
	    String inRemark,
	    java.util.Date inCreateTime,
		java.util.Date inUpdateTime
	 ) {
		super();
				this.id = inId;
				this.cfgTaskId = inCfgTaskId;
				this.paramName = inParamName;
				this.paramValue = inParamValue;
				this.remark = inRemark;
				this.createTime = inCreateTime;
				this.updateTime = inUpdateTime;
			}





}

